<#if pg??>${pg.countHtml!}</#if>
<table class="list">
  <tr>
    <th width="7%">箱号</th>
    <th width="9%">名称</th>
    <th width="6%">押金</th>
    <th width="7%">年租金</th>
    <th width="7%">月租金</th>
    <th width="7%">类型</th>
    <th width="7%">状态</th>
    <th width="10%">会员</th>
    <th width="8%">开始日期</th>
    <th width="8%">结束日期</th>
    <th width="7%">支付押金</th>
    <th width="7%">支付租金</th>
    <th>操作</th>
  </tr>
  <#if list??><#list list as c>
  <tr<#if c_index%2==1> class="line2"<#else> class="line1"</#if>>
    <td>${c.boxCode!}</td>
    <td>${c.chName!}</td>
    <td>${c.deposit!}</td>
    <td>${c.yearFee!}</td>
    <td>${c.monthFee!}</td>
    <td><@value type="boxUseType" key="${c.useType!}"/></td>
    <td><#if c.memberCode??>已租<#else>空闲</#if></td>
    <td><a href="javascript:mbinfo('${c.memberCode!}');">${c.memberName!}</a></td>
    <td>${c.beginTime!}</td>
    <td>${c.endTime!}</td>
    <td>${c.depositAmount!}</td>
    <td>${c.factAmount!}</td>
    <td class="oper"><#if c.memberCode??><#if canRetur??><a class="edit" href="javascript:open('retur?code='+encodeURIComponent('${c.boxCode}'));">归还</a></#if><#if canResume??><a class="edit" href="javascript:open('resume?code='+encodeURIComponent('${c.boxCode}'));">续租</a></#if><#else><#if canAdd??><a class="add" href="javascript:open('add?code='+encodeURIComponent('${c.boxCode}'))">租借</a></#if></#if></td>
  </tr>
  </#list></#if>
</table>
<#if pg??>${pg.pageHtml!}</#if>
